<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!--    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">-->
    <title>Title</title>
</head>
<body>
<ul class="pagination">
    {% if datas.show_shouye_status==1%}
    <li class=''><a href='/user/user_list?p=1'>首页</a></li>
    <li class=''><a href='/user/user_list?p={{datas.p-1}}'>上一页</a></li>
    {%endif%}

    {% for dic in datas.dic_list %}
    {% if dic==datas.p%}
    <li class="active"><a href="/user/user_list?p={{dic}}" rel="external nofollow" rel="external nofollow">{{dic}}</a>
    </li>
    {%else%}
    <li><a href="/user/user_list?p={{dic}}" rel="external nofollow" rel="external nofollow">{{dic}}</a></li>
    {%endif%}
    {%endfor%}

    {% if datas.p < datas.total%}
    <li class=''><a href='/user/user_list?p={{datas.p+1}}'>下一页</a></li>
    <li class=''><a href='/user/user_list?p={{datas.total}}'>尾页</a></li>
    {%endif%}
    共{{datas.total}}页
</ul>
</body>
<!--<script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js" integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ" crossorigin="anonymous"></script>-->
<!--    &lt;!&ndash; 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 &ndash;&gt;-->
<!--    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>-->

</html>